package com.chuangke.common.utils;

public class ExceptionUtil {

	public static Throwable getSourceException(Throwable e) {
		Throwable throwsable = e.getCause();
		if (throwsable == null) {
			return e;
		} else {
			return getSourceException(throwsable);
		}
	}
}
